package com.design.pattern.behavior.strategy.general;

public class Test {
    public static void main(String[] args) {
        IStrategy strategyA = new ConcreteStrategyA();
        IStrategy strategyB= new ConcreteStrategyB();

//        IStrategy context = new Context(strategyA);
        IStrategy context = new Context(strategyB);
        context.algorithm();

    }
}
